﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ComicIsland.App.Controls
{
    public class LoadErrorEventArgs : EventArgs
    {
        private int responseCode;

        private string errorMessage;

        public string ErrorMessage
        {
            get
            {
                return this.errorMessage;
            }
            set
            {
                this.errorMessage = value;
            }
        }

        public int ResponseCode
        {
            get
            {
                return this.responseCode;
            }
            set
            {
                this.responseCode = value;
            }
        }

        public LoadErrorEventArgs(int responseCode, string errorMessage)
        {
            this.responseCode = responseCode;
            this.errorMessage = errorMessage;
        }
    }
}
